#ifndef ROVER_COMPUTER_H_
#define ROVER_COMPUTER_H_

#include <stdio.h>
#include <stdlib.h>

#include <sys/time.h>
#include <ctime>

#include <serial_comm.h>
#include <port_comm.h>

#include <util.h>
#include <command.h>
#include <commander.h>

class RoverComputer{
 public:
  // Constructor
  RoverComputer(const char* server_name, const char* ardui_fd, int baud, int portno);

  // Deconstrucotr
  ~RoverComputer(void);

  // RUNNNN!!!!
  void run(void);


 protected:
  // Memebers
  const char* server_name;
  const char* ardui_fd;
  int baud;
  int portno;

  SerialComm* ardui_comm;
  PortComm* port_comm;

  // Methods
  void init(void);
};


#endif
